import React, { Component } from 'react'
import {Button, Tag} from 'antd'
import { observer, inject } from 'mobx-react'
import styles from './ArticleCreate.less'
import EditorPreView from '../../../components/EditorPreView/EditorPreView.jsx'

@inject("articleCreate")
@observer
class ThirdStepView extends Component {

	render() {
		return (
			<div className={styles.thirdStepView}>
				<EditorPreView article={{
					articleTitle: this.props.articleCreate.form.articleTitle,
					articleCreateTime: this.props.articleCreate.form.articleCreateTime,
					articleCategory: this.props.articleCreate.form.articleCategory,
					articleDesc: this.props.articleCreate.form.articleDesc,
					fuhtml: this.props.articleCreate.fuhtml
				}}></EditorPreView>
			</div>
		)
	}
}


export default ThirdStepView